package com.moonciki.multids.util;

import java.util.Collection;
import java.util.Map;

/**
 * @author 岳仕奇
 * @description: TODO
 * @date 2021/12/17 18:35
 */
public class MultiCommonUtils {

    public static boolean stringIsBlank(String str){
        return (str == null || str.length() <= 0);
    }

    public static boolean mapIsEmpty(Map<?, ?> map){
        return (map == null || map.isEmpty());
    }

    public static boolean collectionIsEmpty(Collection<?> coll) {
        return (coll == null || coll.isEmpty());
    }

}
